package com.autotest.nore.service;

import com.autotest.nore.domain.Assertion;
import com.autotest.nore.mapper.AssertionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = Exception.class)
public class SystemService {

    @Autowired
    private AssertionMapper assertionMapper;

    public List<Assertion> getAssertion() {
        return assertionMapper.getAssertion();
    }

}
